package teach.aistar.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:订单表
 * @date 2019/8/23 0023
 */
public class Orders implements Serializable{
    private Integer id;

    private Integer userId;

    private Integer num;

    private Date createTime;

    private String note;

    public Orders() {
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Orders{");
        sb.append("id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", num=").append(num);
        sb.append(", createTime=").append(createTime);
        sb.append(", note='").append(note).append('\'');
        sb.append('}');
        return sb.toString();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
